//
//  DrawerViewController.h
//  ImitateZH
//
//  Created by lanou3g on 16/3/1.
//  Copyright © 2016年 Highyoung. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface DrawerViewController : UIViewController
//中间控制器
@property(nonatomic,strong)UIViewController *rootVC;
//左边视图控制器
@property(nonatomic,strong)UIViewController *leftVC;
// 点击手势
@property(nonatomic,strong)UITapGestureRecognizer *tap;


// 设置根控制器
- (void)setRootVCC:(UIViewController *) viewcontroller;

// 打开抽屉
-(void)showleftViewController:(UIViewController *)viewcontroller;

// 展示中间视图方法（关闭抽屉）
-(void)showRootViewController:(UIViewController *)viewController;



@end
